
echo begin

set MAVEN_OPTS= -Xms128m -Xmx512m

:: generateChangeLog: 该脚本默认导出整个数据库中所有的数据，若需要指定导出某几个表数据请增加 [-Dliquibase.diffIncludeObjects="XT_DM_FLDMLB,XT_DM_FLDM"]参数（XT_DM_FLDMLB 为表名） ,若导出排除某几个表数据请增加[-Dliquibase.diffExcludeObjects="XT_DM_FLDMLB,XT_DM_FLDM"]参数

call mvn org.liquibase:liquibase-maven-plugin:3.6.3:generateChangeLog    -Dliquibase.diffTypes=data  -Dliquibase.outputChangeLogFile=src/main/resources/liquibase/changelog/init_data.xml  -Dliquibase.driver=com.mysql.jdbc.Driver  -Dliquibase.url="jdbc:mysql://172.16.170.61:3306/a9f92afbdc?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true"  -Dliquibase.defaultSchemaName=a9f92afbdc  -Dliquibase.username=a9f92afbdc  -Dliquibase.password="2e26Ad24"  -Dliquibase.promptOnNonLocalDatabase=false

echo done

pause

